package com.lg.utils.hutool.assemble;

import cn.hutool.core.codec.Base62;

public class Base62Test {
    public static void main(String[] args) {
        String a = "伦家是一个非常长的字符串66";

// 17vKU8W4JMG8dQF8lk9VNnkdMOeWn4rJMva6F0XsLrrT53iKBnqo
        String encode = Base62.encode(a);

// 还原为a
        String decodeStr = Base62.decodeStr(encode);
        System.out.println(decodeStr);
    }
}
